import Vue from 'vue'
import './plugins/axios'
import App from './App.vue'
import router from './router'
import "./assets/animate.min.css"
import "./assets/minireset.min.css"
import "vant/lib/index.less"
import {
  Swipe,
  SwipeItem,
  Image,
  Icon,
  Slider,
  Tab,
  Tabs,
  Lazyload
} from 'vant';




Vue.use(Lazyload, {
  lazyComponent: true,
  loading: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fcc.cocimg.com%2Fapi%2Fuploads%2F20150520%2F1432090160559860.gif&refer=http%3A%2F%2Fcc.cocimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1617780684&t=299d0e6299c2e0141ff26e226ae94450",
  error: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fpic.soutu123.com%2Felement_origin_min_pic%2F01%2F37%2F92%2F40573c69065b76e.jpg%21%2Ffw%2F700%2Fquality%2F90%2Funsharp%2Ftrue%2Fcompress%2Ftrue&refer=http%3A%2F%2Fpic.soutu123.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1617781309&t=2c9fc487cdf72855b9e4d57c18ad2146"
});
Vue.use(Tab).use(Tabs);
Vue.use(Swipe).use(SwipeItem);
Vue.use(Image);
Vue.use(Icon);
Vue.use(Slider);
Vue.config.productionTip = false

let musicStore = {
  musicID: null,
  musicList: [],
  currentMusic: null,
  picUrl: null,
  text: null,
  isplay: true
}
new Vue({
  data: {
    musicStore,
  },
  router,
  render: h => h(App)
}).$mount('#app')